package xyz.lwm.lazycat.web.settings;

import lombok.Data;
import xyz.lwm.lazycat.annotation.SettingPrefix;

/**
 * 静态资源配置
 */
@Data
@SettingPrefix(prefix = "web.static")
public class WebStaticSetting {

    /**
     * <p>静态资源路径</p>
     * <p>示例:</p>
     * <pre>
     * 1、classpath:static/index.html
     * 2、file:D:/static/index.html
     * </pre>
     */
    private String location;

    /**
     * <p>静态资源默认首页</p>
     * <p>示例:</p>
     * <pre>
     * index.html
     * </pre>
     */
    private String index;

}